package com.huajiao.management_system.bean;


import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@ApiModel(value = "competitionRes", description = "竞赛成果模型")
public class competitionRes implements Serializable {
    private Integer competitionResId;
    private String competitionResName;
    private String competitionResSponsor;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private LocalDate competitionResWintime;
    private String competitionResProjectname;
    private String competitionResWinner;
    private String competitionResAdviser;
    private String competitionResWinrank;
    private String competitionResCollege;
    private Byte isDelete;
    private LocalDateTime updateTime;
    private LocalDateTime createTime;
    private Integer typeId;
    private String typeName;
    private Integer subtypeId;
    private String subtypeName;
    private List<prove> proves;

    public List<prove> getProves() {
        return proves;
    }

    public void setProves(List<prove> proves) {
        this.proves = proves;
    }

    public Integer getCompetitionResId() {
        return competitionResId;
    }

    public void setCompetitionResId(Integer competitionResId) {
        this.competitionResId = competitionResId;
    }

    public String getCompetitionResName() {
        return competitionResName;
    }

    public void setCompetitionResName(String competitionResName) {
        this.competitionResName = competitionResName;
    }

    public String getCompetitionResSponsor() {
        return competitionResSponsor;
    }

    public void setCompetitionResSponsor(String competitionResSponsor) {
        this.competitionResSponsor = competitionResSponsor;
    }

    public LocalDate getCompetitionResWintime() {
        return competitionResWintime;
    }

    public void setCompetitionResWintime(LocalDate competitionResWintime) {
        this.competitionResWintime = competitionResWintime;
    }

    public String getCompetitionResProjectname() {
        return competitionResProjectname;
    }

    public void setCompetitionResProjectname(String competitionResProjectname) {
        this.competitionResProjectname = competitionResProjectname;
    }

    public String getCompetitionResWinner() {
        return competitionResWinner;
    }

    public void setCompetitionResWinner(String competitionResWinner) {
        this.competitionResWinner = competitionResWinner;
    }

    public String getCompetitionResAdviser() {
        return competitionResAdviser;
    }

    public void setCompetitionResAdviser(String competitionResAdviser) {
        this.competitionResAdviser = competitionResAdviser;
    }

    public String getCompetitionResWinrank() {
        return competitionResWinrank;
    }

    public void setCompetitionResWinrank(String competitionResWinrank) {
        this.competitionResWinrank = competitionResWinrank;
    }

    public String getCompetitionResCollege() {
        return competitionResCollege;
    }

    public void setCompetitionResCollege(String competitionResCollege) {
        this.competitionResCollege = competitionResCollege;
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getSubtypeId() {
        return subtypeId;
    }

    public void setSubtypeId(Integer subtypeId) {
        this.subtypeId = subtypeId;
    }

    public String getSubtypeName() {
        return subtypeName;
    }

    public void setSubtypeName(String subtypeName) {
        this.subtypeName = subtypeName;
    }

    @Override
    public String toString() {
        return "competitionRes{" +
                "competitionResId=" + competitionResId +
                ", competitionResName='" + competitionResName + '\'' +
                ", competitionResSponsor='" + competitionResSponsor + '\'' +
                ", competitionResWintime=" + competitionResWintime +
                ", competitionResProjectname='" + competitionResProjectname + '\'' +
                ", competitionResWinner='" + competitionResWinner + '\'' +
                ", competitionResAdviser='" + competitionResAdviser + '\'' +
                ", competitionResWinrank='" + competitionResWinrank + '\'' +
                ", competitionResCollege='" + competitionResCollege + '\'' +
                ", isDelete=" + isDelete +
                ", updateTime=" + updateTime +
                ", createTime=" + createTime +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", subtypeId=" + subtypeId +
                ", subtypeName='" + subtypeName + '\'' +
                ", proves=" + proves +
                '}';
    }
}
